package com.gedmanager.db;

public class Selling {
	private long id;
	private long product_id;
	private String name;
	private long amount;
	private String price;
	private String unit_sale_price;
	private String sale_price;
	private long date;
	private String installments;
	private String paymentForm;
	private String comment;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public long getProductId() {
		return product_id;
	}

	public void setProductId(long product_id) {
		this.product_id = product_id;
	}

	public void setName(String name) {
		this.name = name;		
	}
	
	public String getName() {
		return name;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}
	// Will be used by the ArrayAdapter in the ListView
	@Override
	public String toString() {
		return name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getInstallments() {
		return installments;
	}

	public void setInstallments(String string) {
		this.installments = string;
	}

	public long getDate() {
		return date;
	}

	public void setDate(long date) {
		this.date = date;
	}

	public void setPaymentForm(String paymentForm) {
		this.paymentForm = paymentForm;	
	}
	
	public String getPaymentForm() {
		return paymentForm;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getSale_price() {
		return sale_price;
	}

	public void setSale_price(String sale_price) {
		this.sale_price = sale_price;
	}
	
	public String getUnitSale_price() {
		return unit_sale_price;
	}

	public void setUnitSale_price(String unit_sale_price) {
		this.unit_sale_price = unit_sale_price;
	}
} 